﻿namespace DataTransfer.SDK.Models
{
    /// <summary>
    /// 导出设置
    /// </summary>
    public interface IExcelExporter : IExporter
    {
        /// <summary>
        /// 导出格式
        /// </summary>
        ExcelFormat ExcelFormat { get; set; }
        /// <summary>
        /// 每表最大行数
        /// </summary>
        int MaxRowCountPerSheet { get; set; }
        /// <summary>
        /// 
        /// </summary>
        IEnumerable<IExcelExportSheet> Sheets { get; }
        /// <summary>
        /// 
        /// </summary>
        IDictionary<string, Type> Modules { get; }
    }


    /// <summary>
    /// 
    /// </summary>
    public enum ExcelFormat
    {
        /// <summary>
        /// 97-03格式
        /// </summary>
        XLS,
        /// <summary>
        /// 07+格式
        /// </summary>
        XLSX
    }
}
